FROM ubuntu:24.04
ENV TZ=Asia/Shanghai
RUN sed -i 's/archive/cn.archive/g' /etc/apt/sources.list \
  && apt update \
  && DEBIAN_FRONTEND="noninteractive" apt install -y npm \
  && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
  && npm config set registry https://registry.npmmirror.com
CMD ["/bin/bash"]
